package com.licensesoft;

import org.apache.tuscany.sca.domain.SCADomain;

public class PlanningServiceServer {

	public static void main(String[] args) {
	    try {
	        System.out.println("***********************");
	        System.out.println("PlanningServiceService Started and Running...");
	        System.out.println("***********************");
	        System.out.println("Hit ENTER to exit");
	        SCADomain scaDomain = SCADomain.newInstance("default.composite");
	        System.in.read();
	        scaDomain.close();
	        System.out.println("***********************");
	        System.out.println("Server Stopped");
	        System.out.println("***********************");
	        System.exit(0);
	    } catch ( Exception e ) {
	        e.printStackTrace();
	    }
	}
}
